

$(".js_input_text")[0].onblur=function(){
		var a=$(this).val();
		//regular verification；
		if(a.match(/^(13|15)\d{9}$/)){
			$(this).val(a);
			//this`s parent next element actually is the Judgment result;
			$(this).parent().next("div").remove();
			//clear this margin-bottom and create new element
	        $(this).parent().css("margin-bottom","18px");
	        
		}else{
			//judge this next element`s height whethe or not create element height 
			if($(this).parent().next().height()==18){console.log($(this).parent().next().height());
			}else{
			var ss=$("<div></div>");
			//create element and to whom a className:js_change_div
			$(".form_phone_yz").css("margin-bottom","0px");
			$(".form_phone_yz").after(ss);
			ss.html("手机号不合法");
			ss.addClass("js_change_div");}

		}
}

$(".js_input_text")[1].onblur=function(){
		var a=$(this).val();

		if(a.match(/^\d{6}$/)){
			$(this).val(a);
			$(this).next("div").remove();
	        $(this).css("margin-bottom","18px");
		}else{
			if($(this).next().height()==18){console.log($(this).next().height());
			}else{
			var ss=$("<div></div>");
			$(this).css("margin-bottom","0px");
			
			ss.html("短信验证码不正确");
			ss.addClass("js_change_div");

			$(this).after(ss);}}
}
$(".js_input_text")[2].onblur=function(){
		var a=$(this).val();

		if(a.match(/([a-z]+[0-9]+|[0-9]+[a-z]+)/ig)){
			$(this).val(a);
			$(this).next("div").remove();
	        $(this).css("margin-bottom","18px");
		}else{
			if($(this).next().height()==18){console.log($(this).next().height());
			}else{
				console.log($(this).next().height());
				var ss=$("<div></div>");
				$(this).css("margin-bottom","0px");
				$(this).after(ss);
				ss.html("密码格式不正确");
				ss.addClass("js_change_div");
			}
		}

		
}
